package com.fen.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fen.pojo.CompanyInfo;
import com.fen.vo.response.ResponseCompanyName;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description: companyinfo表的Dao层
 * @Author: lijiafen
 * @Date:  2021/11/1
 * @Time: 17:35
 * @eamil: 2368044269@qq.com
 */
@Mapper
public interface CompanyInfoMapper extends BaseMapper<CompanyInfo> {

    @Select("select id,company_name from company_info")
    List<ResponseCompanyName> selectname();
}
